package com.dotflat.staffExtend.controller;

import com.dotflat.rest.controller.RestfulBaseController;
import com.dotflat.staffExtend.domain.StaffExtendInfoRank;
import com.dotflat.staffExtend.po.StaffExtendInfoRankPO;
import com.dotflat.staffExtend.service.StaffExtendInfoRankService;

import com.starinside.wp.domain.Children;
import com.starinside.wp.foundation.exception.BusinessException;
import com.starinside.wp.foundation.model.ErrorCode;
import com.starinside.wp.foundation.model.StatusResponse;
import com.starinside.wp.foundation.query.base.PagerQuery;
import com.starinside.wp.foundation.vo.StaffVO;
import com.starinside.wp.repository.StaffNativeRepository;
import com.starinside.wp.utils.RemoteCallUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Field;
import java.util.List;

import static com.starinside.wp.foundation.constant.RequestConstant.TICKET;


@RestController
@RequestMapping("/v2/staff_rank/rank")
@Slf4j
@Api(tags = "员工评分 - 评分记录，仅查询")
public class APIStaffExtendInfoRankController extends RestfulBaseController<StaffExtendInfoRank, StaffExtendInfoRankService, StaffExtendInfoRankPO> {

    @Autowired
    public void setBaseService(StaffExtendInfoRankService service){
        super.setBaseService(service);
    }

}
